home *** CD-ROM | disk | FTP | other *** search
- /*
- ##########################################################################
- #### ####
- #### The MusicBox Project ####
- #### ============================ ####
- #### ####
- #### MusicBox.h ####
- #### ####
- #### Version 2.1os -- September 29, 2000 ####
- #### ####
- #### Copyright (C) 1994 Thomas Dreibholz ####
- #### 2000 Molbachweg 7 ####
- #### 51674 Wiehl ####
- #### Germany ####
- #### ####
- #### EMail: Dreibholz@bigfoot.com ####
- #### WWW: http://www.bigfoot.com/~dreibholz ####
- #### ####
- ##########################################################################
- */
- /***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
- /* MusicBox Konstanten und Strukturen */
-
- #define TRACK_ANFANG 0
- #define CD_ANFANG 1
- #define TRACK_ENDE 2
- #define CD_ENDE 3
-
- #define ZEIT 0
- #define ADRESSE 1
- #define PROZENT 2
- #define MEGABYTES 3
-
- #define FARBE 2
-
- #define ZEIT_TICKS 7
- #define ADRESSE_TICKS 5
-
- #define DATEN 1
- #define AUDIO 2
-
- #define AUDIO_LINKS 1
- #define AUDIO_RECHTS 2
- #define AUDIO_BEIDE 3
- #define AUDIO_AUS 0
-
- #define STANDBY 0
- #define WIEDERGABE 1
- #define PAUSE 2
- #define STOP 3
- #define VORLAUF 4
- #define RUECKLAUF 5
- #define PLUS 6
- #define MINUS 7
- #define AUTO 8
- #define POSITION 9
-
- #define AUS 0
- #define JOYSTICK_I 1
- #define JOYSTICK_II 2
-
- #define LISTE 0
- #define ZUFALL 1
-
- struct Einstellungen
- {
- UWORD AutoCnt;
- ULONG Adresse;
- UWORD VolumenL;
- UWORD VolumenR;
- UBYTE AudioL;
- UBYTE AudioR;
- UBYTE Lock;
- UBYTE CDEingelegt;
- UBYTE CDTyp;
- UBYTE CDKatalogisiert;
- UBYTE SCSI;
- UBYTE Funktion;
- UBYTE Kontrolle;
- UBYTE Track;
- UBYTE IntuiTicks;
- UBYTE TickCnt;
- UBYTE Toshiba;
- UBYTE Anzeige;
- UBYTE Auswahl;
- UBYTE Titel;
- UBYTE Format;
- UBYTE CatChange;
- UBYTE Num;
- UBYTE NumS;
- UBYTE AutoRepeat;
- UBYTE AutoStart;
- UBYTE AutoSave;
- UBYTE Kopplung;
- UBYTE AutoLoad;
- UBYTE AutoFlush;
- UBYTE Auswahlmodus;
- };
-
- struct AudioTrack
- {
- ULONG SAdresse;
- ULONG TAdresse;
-
- UBYTE SMinute; /* Anfang des Tracks */
- UBYTE SSekunde;
- UBYTE SFrame;
- UBYTE TMinute; /* Größe des Tracks */
- UBYTE TSekunde;
- UBYTE TFrame;
- };
-
- struct ThisCD
- {
- UBYTE ErsterTrack;
- UBYTE LetzterTrack;
- ULONG Endadresse;
- ULONG Startadresse;
- UBYTE Anzahl;
- UBYTE pad;
- ULONG ID;
- struct AudioTrack Track[100];
- };
-
- struct ThisDrive
- {
- UBYTE Vendor[20];
- UBYTE Product[20];
- UBYTE Revision[8];
- };
-
- struct KatalogEintrag
- {
- UBYTE Titel[50];
- ULONG SAdresse;
- ULONG TAdresse;
- };
-
- struct Katalog
- {
- UBYTE ID[4];
- UWORD KatalogVersion;
- ULONG DiscID;
- ULONG Anzahl;
- UBYTE CDName[50];
- struct KatalogEintrag KE[99];
- };
-
- #define KSIZE(k) ((4+2+4+4+50)+k->Anzahl*sizeof(struct KatalogEintrag))
-
- #define VERSTR "$VER: MusicBox 2.1os (29 Sep 2000) - Copyright (C) 1994-2000 by Thomas Dreibholz"
- #define TITEL "Music Box - Version 2.1os"
- #define VERSION 210
-
-